package com.luntan.domain;

import java.util.HashSet;
import java.util.Set;


/**
 * AbstractTUser entity provides the base persistence definition of the TUser entity. 
 */

public abstract class AbstractTUser  implements java.io.Serializable {

    // Fields    
     private String userid;
     private String userName;
     private String password;
     private Set mainTies = new HashSet(0);
     private Set huiTies = new HashSet(0);


    // Constructors

    /** default constructor */
    public AbstractTUser() {
    }

    /** minimal constructor */
    public AbstractTUser(String userName) {
        this.userName = userName;
    }
    
	/** minimal constructor */
    public AbstractTUser(String userid, String userName, String password) {
        this.userid = userid;
        this.userName = userName;
        this.password = password;
    }
    
    /** full constructor */
    public AbstractTUser(String userid, String userName, String password, Set mainTies, Set huiTies) {
        this.userid = userid;
        this.userName = userName;
        this.password = password;
        this.mainTies = mainTies;
        this.huiTies = huiTies;
    }

   
    // Property accessors

    public String getUserid() {
        return this.userid;
    }
    
    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

    public Set getMainTies() {
        return this.mainTies;
    }
    
    public void setMainTies(Set mainTies) {
        this.mainTies = mainTies;
    }

    public Set getHuiTies() {
        return this.huiTies;
    }
    
    public void setHuiTies(Set huiTies) {
        this.huiTies = huiTies;
    }
   








}